/****************************************************************************
** Meta object code from reading C++ file 'FileDialog.h'
**
** Created: Mon Jul 15 18:07:39 2013
**      by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "FileDialog.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'FileDialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 61
#error "This file was generated using the moc from 4.5.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Gui__FileDialog[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

       0        // eod
};

static const char qt_meta_stringdata_Gui__FileDialog[] = {
    "Gui::FileDialog\0"
};

const QMetaObject Gui::FileDialog::staticMetaObject = {
    { &QFileDialog::staticMetaObject, qt_meta_stringdata_Gui__FileDialog,
      qt_meta_data_Gui__FileDialog, 0 }
};

const QMetaObject *Gui::FileDialog::metaObject() const
{
    return &staticMetaObject;
}

void *Gui::FileDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Gui__FileDialog))
        return static_cast<void*>(const_cast< FileDialog*>(this));
    return QFileDialog::qt_metacast(_clname);
}

int Gui::FileDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFileDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
static const uint qt_meta_data_Gui__FileOptionsDialog[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   12, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

 // signals: signature, parameters, type, tag, flags
      24,   23,   23,   23, 0x05,

 // slots: signature, parameters, type, tag, flags
      48,   23,   23,   23, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_Gui__FileOptionsDialog[] = {
    "Gui::FileOptionsDialog\0\0filterSelected(QString)\0"
    "toggleExtension()\0"
};

const QMetaObject Gui::FileOptionsDialog::staticMetaObject = {
    { &QFileDialog::staticMetaObject, qt_meta_stringdata_Gui__FileOptionsDialog,
      qt_meta_data_Gui__FileOptionsDialog, 0 }
};

const QMetaObject *Gui::FileOptionsDialog::metaObject() const
{
    return &staticMetaObject;
}

void *Gui::FileOptionsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Gui__FileOptionsDialog))
        return static_cast<void*>(const_cast< FileOptionsDialog*>(this));
    return QFileDialog::qt_metacast(_clname);
}

int Gui::FileOptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFileDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: filterSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: toggleExtension(); break;
        default: ;
        }
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void Gui::FileOptionsDialog::filterSelected(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
static const uint qt_meta_data_Gui__FileChooser[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   12, // methods
       4,   47, // properties
       1,   59, // enums/sets
       0,    0, // constructors

 // signals: signature, parameters, type, tag, flags
      18,   17,   17,   17, 0x05,
      43,   17,   17,   17, 0x05,

 // slots: signature, parameters, type, tag, flags
      72,   69,   17,   17, 0x0a,
      95,   93,   17,   17, 0x0a,
     109,   17,   17,   17, 0x0a,
     128,   17,   17,   17, 0x0a,
     151,   17,   17,   17, 0x08,

 // properties: name, type, flags
     169,  164, 0x0009510b,
     182,  174, 0x0a095103,
     191,  174, 0x0a095103,
     198,  174, 0x0a095103,

 // enums: name, flags, count, data
     164, 0x0,    2,   63,

 // enum data: key, value
     209, uint(Gui::FileChooser::File),
     214, uint(Gui::FileChooser::Directory),

       0        // eod
};

static const char qt_meta_stringdata_Gui__FileChooser[] = {
    "Gui::FileChooser\0\0fileNameChanged(QString)\0"
    "fileNameSelected(QString)\0fn\0"
    "setFileName(QString)\0m\0setMode(Mode)\0"
    "setFilter(QString)\0setButtonText(QString)\0"
    "chooseFile()\0Mode\0mode\0QString\0fileName\0"
    "filter\0buttonText\0File\0Directory\0"
};

const QMetaObject Gui::FileChooser::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Gui__FileChooser,
      qt_meta_data_Gui__FileChooser, 0 }
};

const QMetaObject *Gui::FileChooser::metaObject() const
{
    return &staticMetaObject;
}

void *Gui::FileChooser::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Gui__FileChooser))
        return static_cast<void*>(const_cast< FileChooser*>(this));
    return QWidget::qt_metacast(_clname);
}

int Gui::FileChooser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: fileNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: fileNameSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: setFileName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: setMode((*reinterpret_cast< Mode(*)>(_a[1]))); break;
        case 4: setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: setButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: chooseFile(); break;
        default: ;
        }
        _id -= 7;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Mode*>(_v) = mode(); break;
        case 1: *reinterpret_cast< QString*>(_v) = fileName(); break;
        case 2: *reinterpret_cast< QString*>(_v) = filter(); break;
        case 3: *reinterpret_cast< QString*>(_v) = buttonText(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setMode(*reinterpret_cast< Mode*>(_v)); break;
        case 1: setFileName(*reinterpret_cast< QString*>(_v)); break;
        case 2: setFilter(*reinterpret_cast< QString*>(_v)); break;
        case 3: setButtonText(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Gui::FileChooser::fileNameChanged(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Gui::FileChooser::fileNameSelected(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
static const uint qt_meta_data_Gui__SelectModule[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   12, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

 // slots: signature, parameters, type, tag, flags
      19,   18,   18,   18, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Gui__SelectModule[] = {
    "Gui::SelectModule\0\0onButtonClicked()\0"
};

const QMetaObject Gui::SelectModule::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Gui__SelectModule,
      qt_meta_data_Gui__SelectModule, 0 }
};

const QMetaObject *Gui::SelectModule::metaObject() const
{
    return &staticMetaObject;
}

void *Gui::SelectModule::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Gui__SelectModule))
        return static_cast<void*>(const_cast< SelectModule*>(this));
    return QDialog::qt_metacast(_clname);
}

int Gui::SelectModule::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: onButtonClicked(); break;
        default: ;
        }
        _id -= 1;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
